Skip to content

refactor(runtime-tags): add tree-shakable feature modules - #3713

Merged
DylanPiercey merged 1 commit into
mainfrom
dpiercey-ws-persisted-pages-simplify-xbz8yw-feature-enablement
Jul 31, 2026
Merged

refactor(runtime-tags): add tree-shakable feature modules#3713
DylanPiercey merged 1 commit into
mainfrom
dpiercey-ws-persisted-pages-simplify-xbz8yw-feature-enablement

Conversation

@DylanPiercey

Copy link
Copy Markdown
Contributor

Adds a .feat.ts convention for optional runtime feature entries, emitted automatically for production and debug builds while sharing state with the main runtime. Migrates branch enablement to a shared dom/branches.feat entry so templates import only the branch helpers they use and unused feature code remains tree-shakable. The dynamic-tag wrapper preserves the runtime's live patchable binding for compat.

@changeset-bot

changeset-bot Bot commented Jul 31, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1b85ab1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@marko/runtime-tags Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@DylanPiercey
DylanPiercey force-pushed the dpiercey-ws-persisted-pages-simplify-xbz8yw-feature-enablement branch from d711110 to cc7d4bf Compare July 31, 2026 03:07
@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.32%. Comparing base (302606e) to head (1b85ab1).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3713      +/-   ##
==========================================
- Coverage   90.34%   90.32%   -0.03%     
==========================================
  Files         414      420       +6     
  Lines       19746    19740       -6     
  Branches     3615     3614       -1     
==========================================
- Hits        17840    17830      -10     
- Misses       1367     1369       +2     
- Partials      539      541       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@DylanPiercey
DylanPiercey force-pushed the dpiercey-ws-persisted-pages-simplify-xbz8yw-feature-enablement branch 11 times, most recently from dabbf7f to ed09318 Compare July 31, 2026 17:12
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@DylanPiercey
DylanPiercey force-pushed the dpiercey-ws-persisted-pages-simplify-xbz8yw-feature-enablement branch from ed09318 to 1b85ab1 Compare July 31, 2026 17:16
@DylanPiercey
DylanPiercey merged commit 057b043 into main Jul 31, 2026
9 checks passed
@github-actions github-actions Bot mentioned this pull request Jul 31, 2026
@DylanPiercey
DylanPiercey deleted the dpiercey-ws-persisted-pages-simplify-xbz8yw-feature-enablement branch July 31, 2026 18:13
@github-project-automation github-project-automation Bot moved this to Done in Roadmap Jul 31, 2026
@DylanPiercey DylanPiercey self-assigned this Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant